<?php
$allItems = $this->allItems;

if (isset($allItems[0])) {
    foreach($allItems as $item):
    ?>
    <div style="padding: 10px 0px;text-align:justify;">
        <img src="http://localhost/buiviethong/images/tintuc.png" width="200" height="200" class="border" align="left"/>
        <div style="margin-left: 220px;">
        <a href="<?php echo BASE_PATH;?>/index/index/detail?pid=<?php echo $item->category_id; ?>&id=<?php echo $item->item_id; ?>"><?php echo $item->item_title; ?></a>
        <div style="padding: 10px 0px;font-size:13px;"><?php echo $item->item_short_description; ?></div>
        </div>
        <div style="clear:both;"></div>
    </div>


    <?php
    endforeach;
} // if items
?>